/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.basic.park.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.hopes.bizz.common.core.annotation.ExcelDictValidate;
import com.hopes.boss.common.entity.ExcelVO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 企业事故事件
 *
 * @author pig
 * @date 2023-10-25 14:43:06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ColumnWidth(30)
public class BaseAccidentEventExcelVO extends ExcelVO {

    private static final long serialVersionUID = 1L;

	/**
	 * 企业
	 */
	@ExcelProperty("企业")
	@ExcelDictValidate(enumResolver = "sys_company")
	private String orgIdStr;

	/**
	 * 事故名称
	 */
	@ExcelProperty("事故名称")
	private String accidentName;
	/**
	* 发生时间
	*/
    @ExcelProperty("发生时间")
    private Date accidentTime;

	/**
	* 事故发生方
	*/
    @ExcelProperty("事故发生方")
	@ExcelDictValidate(enumResolver = "accident_source")
    private String accidentSourceStr;

	/**
	* 事故类型
	*/
    @ExcelProperty("事故类型")
	@ExcelDictValidate(enumResolver = "accident_type")
    private String accidentTypeStr;

	/**
	* 事故等级
	*/
    @ExcelProperty("事故等级")
	@ExcelDictValidate(enumResolver = "accident_level")
    private String accidentLevelStr;

	/**
	* 事故情况
	*/
    @ExcelProperty("事故情况")
    private String accidentDetail;

	/**
	* 事故状态
	*/
    @ExcelProperty("事故状态")
	@ExcelDictValidate(enumResolver = "accident_status")
    private String accidentStatusStr;


	/**
	* 备注
	*/
    @ExcelProperty("备注")
    private String remark;


}
